DropdownContent

fun <T : Any> DropdownContent(targetMenu: MenuItem<T>, onItemSelected: (T?) -> Unit, colors: DropDownMenuColors, onParentClick: () -> Unit, onChildClick: (T) -> Unit)

Represents menu content properties for a dropdown menu.

Parameters

targetMenu

The MenuItem representing the dropdown menu.

onItemSelected

Callback for when an item is selected.

colors

Dropdown menu colors.

onParentClick

Callback for when the parent item is clicked.

onChildClick

Callback for when a child item is clicked.